<?php 
	session_start();
	include('function/connection.php');
	
	if(isset($_POST['btnLogin'])){
		$_SESSION['user'] = $_POST['txtName'];
		header("Location:index.php");
	}
?>